package grpc

import (
	user "gitlab.local/backend/proto/auth"
	"gitlab.local/backend/proto/manager"
	"gitlab.local/backend/proto/simcard"
	"pay/config"
)

var (
	EbkieService manager.EbkieService
	UserService  user.UserService
	SimCard      simcard.SimCardService
)

func Init() func() {
	EbkieService = manager.NewEbkieService("manager-grpc", config.MicroService.Client())
	UserService = user.NewUserService("auth-grpc", config.MicroService.Client())
	SimCard = simcard.NewSimCardService("simcard-grpc", config.MicroService.Client())
	return func() {}
}
